home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_300 / 359_11 / patch5.000 / DIFFS_README < prev    next >
Text File  |  1991-09-11  |  2KB  |  45 lines

  1.             How to use these diffs
  2.             ----------------------
  3.  
  4. In general:
  5.  
  6. 1.  Make sure you are applying the diffs to the correct version of the
  7.     FSF distribution!  Check the versions file for version numbers.
  8.  
  9. 2.  Un-tar the FSF distribution.  Use "djtarx" included with the
  10.     binaries for this, as it refuses to overwrite existing files (like when
  11.     they're different after the eigth character).  Check the versions file
  12.     for file renaming instructions. 
  13.  
  14. 3.  You'll probably want to convert the sources from Unix to DOS text
  15.     file format.  Use the "utod" program in the utils directory.  If you're
  16.     building gcc.exe, you have to convert to DOS format. 
  17.  
  18. 4.  Apply the diffs by running "patch < whatever.dif" in the same
  19.     directory as the sources. 
  20.  
  21. 5.  Run "make".  Most of the makefiles require response files, as the
  22.     command lines are longer than 128 characters, and the makefiles are set
  23.     up to use NDMAKE's method of creating response files. 
  24.  
  25.  
  26. Special Instructions:
  27.  
  28. gcc:
  29.   After applying the diffs, you must run CONFIG-D.BAT to configure the
  30.   compiler for go32's environment, then run MAKEALL.BAT.  This will build
  31.   the appropriate parts of the compiler while avoiding the unix-isms of
  32.   the makefile. 
  33.  
  34. g++:
  35.   First, untar the gcc sources, apply the gcc diffs, and run
  36.   CONFIG-D.BAT to configure the basic compiler.  Then untar the g++
  37.   sources in a different directory and apply the g++ diffs to them.  Next,
  38.   copy the g++ sources into the gcc directory, overwriting the gcc
  39.   sources, and run MAKEALL.BAT. 
  40.  
  41. binutils:
  42.   Before applying the diffs, copy ld.c and cplus-dem.c from the g++
  43.   sources over the ones in the binutils set.  Cplus-dem.c will probably be
  44.   called cp-dem.c in the g++ directory. 
  45.